<?php

namespace Gnway\Ticket\Rest\Facades;

use Closure;
use Gnway\Ticket\Rest\Mapping\RouterMapping;

/**
 * Class Route
 *
 * @method static RouterMapping get(string $uri, array|string|Closure $action)
 * @method static RouterMapping post(string $uri, array|string|Closure $action)
 * @method static RouterMapping put(string $uri, array|string|Closure $action)
 * @method static RouterMapping delete(string $uri, array|string|Closure $action)
 * @method static RouterMapping head(string $uri, array|string|Closure $action)
 * @method static RouterMapping group(string $prefix, Closure $action, string $suffix = '')
 * @package Gnway\Ticket\Rest\Route
 */
final class Route extends Facade
{

  /**
   * Get Facade Accessor
   *
   * @return string
   */
  protected static function getFacadeAccessor(): string
  {
    return RouterMapping::class;
  }
}